package com.ewhome.apartment.mvp.model.entity;

import java.util.List;

/**
 * author:zhangjing
 * 作用:
 * return:
 */

public class HomeData {

    /**
     * type : container-oneColumn
     * items : [{"imgUrl":"https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png","arrowImgUrl":"https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png","title":"标题1","type":"vvtest"},{"imgUrl":"https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png","arrowImgUrl":"https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png","title":"标题2","type":"vvtest"},{"imgUrl":"https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png","arrowImgUrl":"https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png","title":"标题3","type":"vvtest"},{"imgUrl":"https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png","arrowImgUrl":"https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png","title":"标题4","type":"vvtest"}]
     * id : banner1
     * style : {"aspectRatio":3.223}
     * load : com.tmall.request.test
     * loadType : 1
     */

    private String type;
    private String id;
    private StyleEntity style;
    private String load;
    private int loadType;
    private List<ItemsEntity> items;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public StyleEntity getStyle() {
        return style;
    }

    public void setStyle(StyleEntity style) {
        this.style = style;
    }

    public String getLoad() {
        return load;
    }

    public void setLoad(String load) {
        this.load = load;
    }

    public int getLoadType() {
        return loadType;
    }

    public void setLoadType(int loadType) {
        this.loadType = loadType;
    }

    public List<ItemsEntity> getItems() {
        return items;
    }

    public void setItems(List<ItemsEntity> items) {
        this.items = items;
    }

    public static class StyleEntity {
        /**
         * aspectRatio : 3.223
         */

        private double aspectRatio;

        public double getAspectRatio() {
            return aspectRatio;
        }

        public void setAspectRatio(double aspectRatio) {
            this.aspectRatio = aspectRatio;
        }
    }

    public static class ItemsEntity {
        /**
         * imgUrl : https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png
         * arrowImgUrl : https://gw.alicdn.com/tfs/TB1vqF.PpXXXXaRaXXXXXXXXXXX-110-72.png
         * title : 标题1
         * type : vvtest
         */

        private String imgUrl;
        private String arrowImgUrl;
        private String title;
        private String type;

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getArrowImgUrl() {
            return arrowImgUrl;
        }

        public void setArrowImgUrl(String arrowImgUrl) {
            this.arrowImgUrl = arrowImgUrl;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
